package oojo.data;

public class DataException extends RuntimeException {

    private static final long serialVersionUID = -1234184239712443144L;

    /**
     * Creates a new instance without detail message.
     */
    public DataException() {
    }

    /**
     * Constructs an instance with a specified detail message.
     * @param message the detail message.
     */
    public DataException(String message) {
        super(message);
    }

    /**
     * Constructs an instance with a specified cause.
     * @param cause the cause
     */
    public DataException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructs an instance with a specified detail message and cause.
     * @param message the detail message
     * @param cause the cause
     */
    public DataException(String message, Throwable cause) {
        super(message, cause);
    }
}
